import {checkUserIsLogin} from "@/util/common";
import {AppEnum} from "@/enum/appEnum";
export const changeUserLogin = (_to: any, _from: any, next: (arg0?: string | undefined) => void) => {
    if(checkUserIsLogin()) {
        next()
    } else {
        next(AppEnum.LOGIN_PAGE)
    }
}
